package com.wectrls.vo.postvo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @author chenjian
 * @Package
 * @Description:
 * @date 2019-10-30 23:53
 */
@Data
public class SourcesAddVo {

    @NotNull
    private String categoryId;

    @Length(min = 2, max = 6)
    private String sourcesName;

    @NotNull
    private String sourcesUrl;

    @NotNull
    private String sourcesDesc = "暂无描述";

    private Integer sortNum;

}
